package diShiErZhou.zuoye4;

public class threat4 extends Thread{
    public threat4(String name){
        super(name);
    }
    @Override
    public void run() {
        for(int i=1;i<=5;i++){
            System.out.println(Thread.currentThread().getName()+":"+i);
        }
    }

}
